﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="hotnewsmanager.ascx.cs" Inherits="YAF.pages.admin.hotnewsmanager" %>
<%@ Register TagPrefix="YAF" Namespace="YAF.Controls" %>
<YAF:PageLinks runat="server" ID="PageLinks" />
<YAF:AdminMenu ID="AdminMenu1" runat="server">
    <asp:Button ID="btnUpdate" runat="server" Text="Update" OnClick="btnUpdate_Click" />
    <asp:Label ID="message" runat="server" ForeColor="Red"></asp:Label>
    <asp:GridView ID="grdToppic" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None" Width="732px">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
           <asp:TemplateField>
                    <ItemTemplate>                       
                        <asp:CheckBox ID="cbTopicID" runat="server" AutoPostBack="False" />
                    </ItemTemplate>
                </asp:TemplateField>
            <asp:BoundField DataField="TopicID" HeaderText="PostID" SortExpression="TopicID" />
            <asp:BoundField DataField="Topic" HeaderText="Title" SortExpression="Topic" />
            <asp:BoundField DataField="Username" HeaderText="Create by" SortExpression="Username" />
        </Columns>
        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
        <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
        <SortedAscendingCellStyle BackColor="#FDF5AC" />
        <SortedAscendingHeaderStyle BackColor="#4D0000" />
        <SortedDescendingCellStyle BackColor="#FCF6C0" />
        <SortedDescendingHeaderStyle BackColor="#820000" />
    </asp:GridView>
</YAF:AdminMenu>
<YAF:SmartScroller ID="SmartScroller1" runat="server" />
